//
//  CycleCollectionViewCell.m
//  网易新闻
//
//  Created by mac on 16/7/22.
//  Copyright © 2016年 xbk. All rights reserved.
//

#import "CycleCollectionViewCell.h"
#import <UIImageView+WebCache.h>

@interface CycleCollectionViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *cycleImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation CycleCollectionViewCell

- (void)setModel:(CycleModel *)model{

    _model = model;
    
    [self.cycleImageView sd_setImageWithURL:[NSURL URLWithString:model.imgsrc]];
    
    self.titleLabel.text = model.title;
}

@end
